.text-center{
    width: 100%;
    height: 100%;
}
.buju{
    width: 100%;
    height: 100%;
    padding: 1rem;
    box-sizing: border-box;
    background-color: #111827;
    overflow: hidden;
    // height: 100%;
    flex-direction: column; 
}

// .table{
//         .box_flex(-webkit-flex,flex,row nowrap,flex-start,flex-start);
//     }

.guanqutu{
    color: white;
    font-size: 1.25rem;
    margin: 0.5rem 0;
    text-align: center;
}
.mt-2{
    text-align: right;
}
.mb-2{
    text-align: right;
}
.guanqu{
    color: white;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}
.liebiao{
    background-color: rgb(59, 59, 168);
}

// 表格样式
.table-sm {
    width: 100%;
    color: white;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    border-collapse: collapse;
    
    th, td {
        padding: 0.5rem;
        text-align: left;
        border: 1px solid #374151;
    }

    th {
        background-color: rgba(55, 65, 81, 0.5);
    }
}

// 图表容器
.chart-container {
    width: 100%;
    min-height: 18.75rem;
    margin-bottom: 1rem;
    background-color: #1f2937;
    border-radius: 0.5rem;
    padding: 1rem;
    box-sizing: border-box;

    &.map-container {
        height: calc(100vh - 2rem);
        margin: 0;
    }

    &.small-chart {
        min-height: 15.625rem;
    }
}

// 下拉菜单
select {
    background-color: #1f2937;
    color: white;
    border: 1px solid #374151;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

// 需水研判表格
.liebiao {
    td {
        padding: 0.5rem;
        color: white;
        font-size: 0.875rem;
        background-color: rgba(59, 59, 168, 0.3);
    }
}

// 响应式布局
@media screen and (max-width: 1200px) {
    .buju {
        padding: 0.5rem;
    }
    
    .chart-container {
        min-height: 15.625rem;
        
        &.map-container {
            height: 31.25rem;
        }
    }
}

@media screen and (max-width: 768px) {
    .chart-container {
        min-height: 12.5rem;
        
        &.map-container {
            height: 25rem;
        }
    }
    
    .table-sm {
        font-size: 0.75rem;
        
        th, td {
            padding: 0.25rem;
        }
    }
    
    .liebiao td {
        font-size: 0.75rem;
        padding: 0.25rem;
    }
}

// 按钮组样式
.button-group {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.btn-secondary {
  background-color: #1f2937;
  color: white;
  border: 1px solid #374151;
  padding: 0.25rem 0.75rem;
  border-radius: 0.25rem;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s;

  &:hover {
    background-color: #374151;
  }

  &:active {
    background-color: #4b5563;
  }
}

// 自定义下拉菜单样式
.custom-select {
  background-color: #1f2937;
  color: white;
  border: 1px solid #374151;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  width: auto;
  cursor: pointer;

  &:focus {
    outline: none;
    border-color: #60a5fa;
  }

  option {
    background-color: #1f2937;
    color: white;
  }
    background-color: rgb(36, 36, 205);
}